home *** CD-ROM | disk | FTP | other *** search
- Path: news.uh.edu!usenet
- From: Sensarn <txs53132@bayou.uh.edu>
- Newsgroups: comp.lang.c++
- Subject: NEW Operator
- Date: Thu, 21 Mar 1996 15:45:47 -0800
- Organization: AEtna Insurance Agency
- Message-ID: <3151EA2B.788E@bayou.uh.edu>
- NNTP-Posting-Host: sip-14315.public-dialups.uh.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (Win16; I)
-
- I am using the SMALL memory model and I would like to use NEW to
- allocate from the far heap. I am assuming that all single-data-segment
- memory models automatically allocate dynamically from the near heap (ie I
- cannot allocate 64016 bytes with NEW in the SMALL memory model). I
- recall someone stating that NEW can be overloaded to do far allocation in
- the SMALL (and MEDIUM) memory models. Can somebody please give me some
- pointers? I could just use farmalloc, but I hear so many people saying
- that NEW is superior.
-
- Thank you,
-
- --
- ______________________________
-
- Steven Sensarn
- E-Mail - txs53132@bayou.uh.edu
- ______________________________
-